package user;

import book.BookList;
import ioperation.IOperation;

public abstract class User {
    protected String name;
    protected IOperation[] ioperations;
    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void doIoperation(int chioce,BookList bookList){
        ioperations[chioce].work(bookList);
    }
}
